<?php
class PushModel extends Model {
	protected $tableName = 'user_pushid';
	protected $error = '';
	protected $fields = array (
			0 => 'uid',
			1 => "push_id",
			'_autoinc' => true,
			'_pk' => 'uid'
	);
	
	public function addPushid($uid,$pushid){
		$this->uid = $uid;
		$this->push_id = $pushid;
		$this->add();
	}
}